import { IsNotEmpty } from 'class-validator';
import { Poem } from '../entities/poem.entity';

export class DeleteDto {
  @IsNotEmpty({ message: 'id不能为空' })
  id: typeof Poem.prototype.id;
}
